/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: jse2302 - For1
 * <p>Powered by webrx On 2023-06-12 16:23:34
 * <p>Created by IntelliJ IDEA
 *
 * @author  webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class For2 {
    public static void main(String[] args) {

        //for(;;){
        //}
        int i = 5;
        for (; i > 0; i++) {
            try{
                Thread.sleep(1000);
            }catch(Exception e){
                e.printStackTrace();
            }
            System.out.println(i);
        }
        System.out.println("--------------");
        System.out.println(i);

        //for (int i = 0; i < 5; i++) {
        //    System.out.println(i+1);
        //}



    }
}
